import 'package:flutter/cupertino.dart';

class ApiAddress extends ChangeNotifier {
  bool encrypt = false;

  // 登录
  String get login => encrypt ? "/security/login/v2" : "security/login";

  // 六合一
  String get zip6in1 => encrypt ? "/time/upload/zip6in1/v2" : "time/upload/zip6in1";

  // 贷超 timeSDK2
  String get zip8in1 => "store/zip8in1";

  // String get front => encrypt ? "/user/upload/curp/front/v2" : "user/upload/curp/front";

  String get getNewVersion => encrypt ? "/app/getNewVersion/v2" : "app/getNewVersion";

  // String get back => encrypt ? "/user/upload/curp/back/v2" : "user/upload/curp/back";

  String get uploadDevice => encrypt ? "/user/device/addActive/v2" : "user/device/addActive";

  String get register => encrypt ? "/security/register/v2" : "security/register";

  String get existsByMobile => encrypt ? "/security/existsByMobile/v2" : "security/existsByMobile";

  // String get resetPassword => encrypt ? "/security/resetPassword/v2" : "security/resetPassword";

  String get getVerifyCode => encrypt ? "/security/getVerifyCode/v2" : "security/getVerifyCode";

}